<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="resources/css/layout.css" media="screen" />
<link rel="stylesheet" type="text/css" href="resources/css/Table.css" media="screen" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<%@include file="/WEB-INF/header.jsp"%>
		<c:if test="${UserBean.loggedIn == true }" >
			<c:forEach items="${mijnVeilingen}" var="veiling">
			<table id="veilingTable">
				<thead>
					<tr>
						<th>Veiling</th>
						<th><A
							HREF='VeilingServlet?veiling=<c:out value="${veiling.id}"/>'><c:out
									value="${veiling.veilingNaam}" />
						</A></th>
						<th></th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>Geplaatst op</td>
						<td>${veiling.formattedBeginDatum}</td>
					</tr>
					<tr>
						<td>Eindigd op</td>
						<td>${veiling.formattedSluitingsDatum}</td>
					</tr>
					<tr>
						<td>Resterende tijd</td>
						<td>${veiling.resterendeTijd}</td>
					</tr>
					<tr>
						<td>Hoogste bod</td>
						<td>${veiling.formattedHoogsteBod}</td>
					</tr>
				</tbody>
			</table>
			</c:forEach>
		</c:if>			
	<%@include file="/WEB-INF/Message.jsp"%>
	<%@include file="/WEB-INF/footer.jsp"%>
	
	
	
</body>
</html>